/*版心*/
.w {
	width: 1200px;
	margin: 0 auto;
}
/*字体小图标样式声明*/
@font-face {
  font-family: 'icomoon';
  src:  url('../fonts/icomoon.eot?ugselc');
  src:  url('../fonts/icomoon.eot?ugselc#iefix') format('embedded-opentype'),
    url('../fonts/icomoon.ttf?ugselc') format('truetype'),
    url('../fonts/icomoon.woff?ugselc') format('woff'),
    url('../fonts/icomoon.svg?ugselc#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
/*快捷导航模块*/
.shortcut {
	height: 31px;
	line-height: 31px;
	background-color: #f1f1f1;
}
.fl {
	float: left;
}
.fr {
	float: right;
}
.style_red {
	color: #c81623;
}
.shortcut ul li {
	float: left;
}
/*选择所有的偶数个小li*/
.shortcut .fr ul li:nth-child(even) {
	width: 1px;
	height: 12px;
    background-color: #666;
    margin: 9px 15px 0;
}
/*下拉小三角的制作*/
.arrow-icon::after{
	margin-left: 6px;
    content: '\e901';
    font-family: 'icomoon';
}
/*头部模块*/
.header {
	position: relative;
	height: 105px;
}
.logo {
	position: absolute;
	top: 25px;
	width: 171px;
	height: 61px;
}
.logo h1 a {
	display: block;
	width: 171px;
	height: 61px;
	background: url(../images/logo.png) no-repeat;
    font-size: 0;把字体大小设置为0，即可让文字隐藏，京东的做法
    /*text-indent: -999px;
    overflow: hidden;text-indent是首行缩进，负值向左到盒子外面，然后overflow hidden隐藏文字，淘宝做法*/
}
.search {
	position: absolute;
	top: 25px;
	left: 346px;
	width: 538px;
	height: 36px;
	border: 2px solid #b1191a;
}
.search input {
	float: left;
	width: 454px;
	height: 32px;
	padding-left: 10px;
}
.search button {
	float: left;
	width: 80px;
	height: 32px;
	background-color: #b1191a;
	font-size: 16px;
	color: #fff;
}
.hotwords {
	position: absolute;
	top: 66px;
	left: 346px;
}
.hotwords a {
	margin: 0 10px;
}
.shopcar {
	position: absolute;
	top: 25px;
	right: 60px;
	width: 140px;
	height: 35px;
	border: 1px solid #dfdfdf;
	background-color: #f7f7f7;
  line-height: 35px;
  text-align: center;
}
.shopcar::before {
	margin-right: 6px;
	content: '\e93a';
	font-family: 'icomoon';
	color: #b1191a;
}
.shopcar::after {
	margin-left: 10px;
	content: '\e902';
	font-family: 'icomoon';
}
.count {/*购物车的商品计数模块*/
	position: absolute;
	top: -5px;
	left: 105px;
	height: 14px;
	line-height: 14px;
	padding: 0 5px;
	background-color: #e60012;
	color: #fff;
	border-radius: 7px 7px 7px 0;
}
/*导航栏模块*/
.nav {
	height: 47px;
	border-bottom: 2px solid #b1191a;
}
.nav .dropdown {/*导航栏左侧模块*/
	float: left;
	width: 210px;
	height: 45px;
	background-color: #b1191a;
}
.dropdown .dt {
	width: 100%;
	height: 100%;
	color: #fff;
	text-align: center;
	line-height: 45px;
	font-size: 16px;
}
.dropdown .dd {
	/*display: none;*/
	width: 100%;
	height: 465px;
	background-color: #c81623;
	margin-top: 2px;
}
.dropdown .dd ul li {
	position: relative;
	height: 31px;
	line-height: 31px;
	margin-left: 2px;
	padding-left: 10px;
}
.dropdown .dd ul li::after {/*after是孩子，父亲是小li*/
	position: absolute;
	top: 1px;
	right: 10px;
	content: '\e902';
	font-family: 'icomoon';
	color: #fff;
	font-size: 14px;
}
.dropdown .dd ul li a {
	color: #fff;
	font-size: 14px;
}
.dropdown .dd ul li:hover {/*当鼠标经过小li时变背景颜色*/
	background-color: #fff;
}
.dropdown .dd ul li:hover a {/*当鼠标经过小li时里面的a变颜色*/
	color: #c81263;
}
.dropdown:hover .dd {/*当鼠标经过dropdown盒子时显示下面的dd盒子*/
    display: block;
}
.nav .navitems {/*导航栏的右侧模块*/
	float: left;
	height: 45px;
}
.nav .navitems ul li{
	float: left;
}
.nav .navitems ul li a {
	display: block;
	height: 45px;
	line-height: 45px;
	padding: 0 25px;
	font-size: 16px;
	color: #494949;
}
/*底部模块*/
.footer {
	padding-top: 30px;
	height: 415px;
	background-color: #f5f5f5;
}
.footer .mod_service {/*页面底部的服务模块*/
	height: 80px;
	border-bottom: 1px solid #ccc;
}
.mod_service ul li {
	float: left;
	width: 240px;
	height: 50px;
	padding-left: 35px;
}
.mod_service ul li h5 {
	float: left;
	width: 50px;
	height: 50px;
	background: url(../images/icons.png) no-repeat -252px -2px;
	margin-right: 8px;
}
.service_txt h4 {
	font-size: 14px;
}
.service_txt p {
	font-size: 12px;
}
.mod_help {/*页面底部的帮助模块*/
	height: 185px;
	border-bottom: 1px solid #ccc;
	padding-top: 20px;
	padding-left: 50px;
}
.mod_help dl {
	float: left;
	width: 200px;
}
.mod_help dl dt {
	margin-bottom: 8px;
	font-size: 16px;
	color: #333;
}
.mod_help dl:last-child {
	width: 90px;
	text-align: center;
}
.mod_copyright {/*页面底部的版权模块*/
	padding-top: 20px;
	text-align: center;
}
.links {
	margin-bottom: 15px;
}
.links a {
	margin: 0 6px;
}
.copyright {
	line-height: 20px;
}